import request from '@/utils/request'

// 查询NB卡商户列表
export function listNBCardMerchant(query) {
  return request({
    url: '/system/NBCardMerchant/listByPage',
    method: 'get',
    params: query
  })
}

// 新增NB卡商户
export function addNBCardMerchant(data) {
  return request({
    url: '/system/NBCardMerchant/add',
    method: 'post',
    data
  })
}

// 查询所有NB卡商户列表
export function getAllNBCardMerchant(query) {
  return request({
    url: '/system/NBCardMerchant/listAll',
    method: 'get',
    params: query
  })
}